<?php
class FacebookLoginHelper extends AppHelper {
	  public $helpers = array('Html');
	  public function login() {          
?> 
			<!--Root DIV  -->
			<div id="fb-root"></div>
			<!--DIV for Authentication Login/Logout-->
			<div id="auth-status">
				<!-- DIV of Login Button-->
				<div id="auth-loggedout">
                                        <img src="<?php echo SITE_WEBROOT; ?>img/FbLogin.png" onclick="fbLogin();" onMouseOver="this.style.cursor='pointer';" width='195px' height='39px;'>
				</div>
				
				<!--DIV of Logout Button-->
				<div id="auth-loggedin" style="display:none;">
                                        <img src="<?php echo SITE_WEBROOT; ?>img/FbLogout.png"  onclick="fbLogout();" onMouseOver="this.style.cursor='pointer';" width='110px' height='39px'>
				</div>
			</div>
<?php  
		echo $this->Html->script('fbLogin'); 
	}
	  

}
